Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
atom-package-deps
Advanced tools
Atom-Package-Deps is a module that lets your atom package depend on other atom packages, It's quite simple and shows a nice progress bar as a notification as the packages are installed.
You need to have an array of package deps in your package manifest, like
{
"name": "linter-ruby",
...
"package-deps": ["linter"]
}
If you need to install package deps from a source other than https://atom.io, suffix a #
character followed by a git remote (in any format supported by apm install
):
{
"name": "linter-ruby",
...
"package-deps": ["linter#steelbrain/linter"]
}
If you need to install specific version of a package, you can add the minimum required version to the package name (semver doesn't work!), like this
{
"name": "linter-ruby",
...
"package-deps": ["linter:2.0.0"]
}
Because the package installation is async, it returns a promise that resolves when all the dependencies have been installed.
'use babel'
module.exports = {
activate() {
// replace the example argument 'linter-ruby' with the name of this Atom package
require('atom-package-deps')
.install('linter-ruby')
.then(function() {
console.log('All dependencies installed, good to go')
})
},
}
export function install(packageName, showPrompt = true)
Installation Prompt
Installation Progress
Installation Complete
This project is licensed under the terms of MIT license, See the license file or contact me for more info.
FAQs
Automatically install package dependencies
The npm package atom-package-deps receives a total of 135 weekly downloads. As such, atom-package-deps popularity was classified as not popular.
We found that atom-package-deps demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.